package org.example.springboot.entity;

public class ShopCart {
    private String id;
    private String cart_id;
    private String user_id;

    public ShopCart() {
    }

    public ShopCart(String id, String cart_id, String user_id) {
        this.id = id;
        this.cart_id = cart_id;
        this.user_id = user_id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCart_id() {
        return cart_id;
    }

    public void setCart_id(String cart_id) {
        this.cart_id = cart_id;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    @Override
    public String toString() {
        return "ShopCart{" +
                "id='" + id + '\'' +
                ", cart_id='" + cart_id + '\'' +
                ", user_id='" + user_id + '\'' +
                '}';
    }
}
